{include file="styles/header.tpl"}
<div id="body"  style="width:64%; margin-left:18%" class="clearfix"> </div>
{literal}
<script type="text/javascript">
	$.urlParam = function(name){
    var results = new RegExp('[\\?&;]' + name + '=([^&;#]*)').exec(window.location.href);
	if (results != null)
	{
		return results[1] || 0; 
	}
	    return "";
	}

	$(document).ready(function(){
	    var filename = $.urlParam('filename');
		$.ajax({
            type: "GET",
            url: HOST_DRAGONTOOL + "dailyreport/view-order",
			data: {filename: filename},
            success: function (data) {
                $("#body").html(data);
            }
        });
	})
    </script>
 {/literal}
{include file="styles/footer.tpl"}
